package Operation;

import Book.Book;
import Book.Bookshelf;

public class showBookOperate implements IOOperation{
    public void work(Bookshelf bookshelf) {

        System.out.println("显示图书........");

        Book[] books = bookshelf.getBookList();
        for (int i = 0; i < bookshelf.getUsedSize(); i++) {
            System.out.println(books[i]);
        }

    }
}
